//
//  SearchView.h
//  LPlates.app
//
//  Created by Andreas Schwelling on 23.11.07.
//	http://www.andi.de/licenseplates/
//
//  Released under the GNU General Public License.
//  See LICENSE for details.
//
//  Use at your own risk.



#import <CoreFoundation/CoreFoundation.h>
#import <Foundation/Foundation.h>
#import <GraphicsServices/GraphicsServices.h>
#import <UIKit/CDStructures.h>
#import <UIKit/UIHardware.h>
#import <UIKit/UIApplication.h>
#import <UIKit/UIKit.h>
#import <UIKit/UIView.h>
#import <UIKit/UITable.h>
#import <UIKit/UITableColumn.h>
#import <UIKit/UITableCell.h>
#import <UIKit/UIImageAndTextTableCell.h>
#import <UIKit/UINavigationBar.h>
#import <UIKit/UIImage.h>
#import <UIKit/UIImageView.h>
#import <UIKit/UIImageView.h>
#import <UIKit/UISectionList.h>
#import <UIKit/UIProgressIndicator.h>


@class MobileVehicleRegPlates;

@interface SearchField: UISearchField {
	
	
}
-(id)initWithFrame:(CGRect)frame;
- (bool)isEditing;



@end

@interface SearchView : UIView {
	NSString *searchStr;
	NSDictionary *plistdict;
	int *building;
	UITable *table;
	UINavigationBar *textView;
	NSMutableArray*			_tableCells;
	UINavigationBar *navBar;
	NSDictionary *searchdict;
	UISearchField *searchField;
	MobileVehicleRegPlates *td;
	UIProgressIndicator	*uip;
	id _delegate;
	
}


- (id) initWithFrame: (struct CGRect) frame;
- (void) fillTable;
- (void) dealloc;
- (void) buildTable;
- (void) refillTable: (id) p;
- (void) isEdited;
- (void) navigationBar: (UINavigationBar*) bar buttonClicked: (int) button;
- (void) setDelegate: (id) delegate;
- (UITableCell*) table: (UISectionTable*) table cellForRow: (int) row column: (int) col;
- (UITableCell*) table: (UISectionTable*) table cellForRow: (int) row column: (int) col reusing: (BOOL) reusing;
- (int) numberOfRowsInTable: (UISectionTable*) table;
- (void) tableRowSelected: (NSNotification*) notification;







@end